<?php include("header.php"); ?>
<?php if (isset($_SESSION) && $_SESSION) { ?>
<div id="content_sec">
        	<!--Main Section-->
            <?php echo $content; ?>        
            <!--Right Section-->
            <?php include("right.php"); ?>
        <div class="clear"></div>
		<!-- movie ads-->
        <div class="movie_ads"><a href="#"><img src="images/movie_ad.gif"  alt="" /></a></div>
    </div>
<?php } else {?>
    <?php echo $content; ?>
<?php } ?>
<?php include("footer.php"); ?>